package edu.turtlekit2.demos.perso1;

import java.awt.Color;

import edu.turtlekit2.kernel.agents.Turtle;

@SuppressWarnings("serial")
public class Femme extends Turtle implements Humain{

	int x = 0;
	int y = 0;
	int team = 0;
	int life = 5000;
	
	public Femme(){
		super("move");
	}
	
	public void setup(){
		team = getAttributes().getInt("team");
		x = (int) (Math.random()*700);
		y = (int) (Math.random()*300);
		setXY(x, y);
		//setPatchColor(Color.pink);
		//moveTo(sunX+(int) (Math.random()*10),sunY+(int) (Math.random()*10));
		setHeading(Math.random()*360);
		setColor(Color.pink);
	}
	
	@SuppressWarnings("unused")
	public String move(){
		
		randomHeading();
		fd(1);
		
		return ("move");
	}

	@Override
	public int getLife() {
		// TODO Auto-generated method stub
		return life;
	}

	@Override
	public int getTeam() {
		// TODO Auto-generated method stub
		return team;
	}
}